import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction

class MyTask extends DefaultTask {
    MyTask() {
        this.description = "test buildSrc"
    }

    @TaskAction
    void start() {
        println 'bi bo bi bo... ...'
    }
}